# #############################################################
# Config File for Server Mounting script
#
# This script is used both by applescripts a bash scripts 
# Modify as needed.  Make sure that all config lines are QUOTED and
# contain a value even if it is keyword BLANK
#
# NOTE: Take caution when editing this file if using TextEdit
# Make sure that the QUOTES do not change style.  This will break the script
# Mavericks uses smart quotes by default.  Use another text editor or 
# turn off smart quotes.
###############################################################

# Set this to the local file path the share will be mounting to… /Volumes/THE_SHARE
mount_point="/Volumes/THE_SHARE"

# Set user name to KEYWORD "BLANK" if you want to use the current logged in user
# If you want to use a domain set it here i.e. "contoso\henry"
username="BLANK"

# Set the password here ONLY IF YOU DONT CARE that it will be in plain text in the
# Config file.  Set it to KEYWORD "BLANK" if you don't want to put a password in here.
password="BLANK"

# Set the Server name or IP address
server="servername.domain.ext"

# Set the Share Point Name to connect to, this is case sensitive
share="THE_SHARE"

# Set the Protocol to use, smb, afp, nfs
protocol="smb"

# Used to test network set to an IP address a gateway or server is best like 172.16.0.50
network_ping_addr="THE_GATEWAY or THE_FQDN"

# Network Ping Timeout seconds, how long the script what for the network to come alive
ping_timeo="10"

# Set for the maximum tries the script will take to mount the server.  It will try to 
# Make sure the server is only mounted once so if it sees multiple mounts the script will 
# see this as a failure.  adjust this number to accordingly
max_mount_tries="1"

# Allow Share Enabler.  This is a special script that can cause a root
# launchdeamon to remove any configured mounts that are out of the users context
# boolean , 1=true, 0=false
Allow_Share_Enabler=1

# Share enabler magic file, must be the same as specified in the 
# share enabler script
magic_file="/tmp/123098.file"
